package com.xiaofeng.server.service;

import com.xiaofeng.api.req.GetPracticeSubjectReq;
import com.xiaofeng.api.req.GetPracticeSubjectsReq;
import com.xiaofeng.api.vo.PracticeSetVo;
import com.xiaofeng.api.vo.PracticeSubjectListVO;
import com.xiaofeng.api.vo.SpecialPracticeVO;
import com.xiaofeng.server.entity.PracticeSet;
import com.xiaofeng.server.entity.dto.PracticeSubjectDTO;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.PageRequest;

import java.util.List;

/**
 * 套题信息表(PracticeSet)表服务接口
 *
 * @author makejava
 * @since 2024-04-17 14:05:57
 */
public interface PracticeSetService {

    //
    List<SpecialPracticeVO> getSpecialPracticeContent();

    /**
     * 开始练题
     * @return
     */
    PracticeSetVo addPractice(PracticeSubjectDTO dto);

    /**
     * 获取练习题
     * @param req
     * @return
     */
    PracticeSubjectListVO getSubjects(GetPracticeSubjectsReq req);

}
